//
//  ThreeCell.h
//  JinChengYun
//
//  Created by 金橙云 on 2017/4/12.
//  Copyright © 2017年 金橙云. All rights reserved.
//

#import <UIKit/UIKit.h>
//model
#import "KeOneModel.h"

#import "ZFChart.h"

@protocol UTableThreeCellDetegate <NSObject>

-(void)didThreeWithSegmented:(UISegmentedControl *)segmented;

@end




@interface ThreeCell : UITableViewCell<ZFGenericChartDataSource,ZFLineChartDelegate>


-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier segArray:(NSArray *)segArr dataModel:(KeOneModel *)dataModel;

@property (nonatomic,weak) id<UTableThreeCellDetegate> detegate;
@property (nonatomic,strong)  UISegmentedControl *segmented;

@property (nonatomic, strong) ZFLineChart * lineChart;
@property (nonatomic,strong) KeOneModel *dataModel;

@property (nonatomic, assign) CGFloat height;

@property(nonatomic,strong)UILabel *orageLab;

//数据切换
@property (nonatomic,strong)  NSMutableArray *countArr;
@property (nonatomic,strong)  NSMutableArray *nameArr;



@end
